.class Lcom/example/m6wmr/AddLianXiRenActivity$7;
.super Ljava/lang/Object;
.source "AddLianXiRenActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/AddLianXiRenActivity;->uploadAddress()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/AddLianXiRenActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/AddLianXiRenActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    .line 399
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 8

    .prologue
    .line 405
    iget-object v5, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    const-string v6, "userInfo"

    const/4 v7, 0x0

    invoke-virtual {v5, v6, v7}, Lcom/example/m6wmr/AddLianXiRenActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v2

    .line 406
    .local v2, "sharedPreferences":Landroid/content/SharedPreferences;
    const-string v5, "uid"

    const-string v6, ""

    invoke-interface {v2, v5, v6}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 407
    .local v3, "uid":Ljava/lang/String;
    const-string v5, "pass"

    const-string v6, ""

    invoke-interface {v2, v5, v6}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 409
    .local v0, "pwd":Ljava/lang/String;
    iget-object v5, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    # getter for: Lcom/example/m6wmr/AddLianXiRenActivity;->is_sex:Landroid/widget/TextView;
    invoke-static {v5}, Lcom/example/m6wmr/AddLianXiRenActivity;->access$8(Lcom/example/m6wmr/AddLianXiRenActivity;)Landroid/widget/TextView;

    move-result-object v5

    invoke-virtual {v5}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v5

    invoke-interface {v5}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    .line 411
    .local v1, "sexString":Ljava/lang/String;
    const-string v5, "BBBBBBBBBBBBBBBBBBB"

    invoke-static {v5, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 413
    new-instance v5, Ljava/lang/StringBuilder;

    iget-object v6, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    iget-object v6, v6, Lcom/example/m6wmr/AddLianXiRenActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v6}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v6

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v6

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v6, "/index.php?ctrl=app&action=addaddress&uid="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 414
    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&pwd="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&datatype=json"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&phone="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    # getter for: Lcom/example/m6wmr/AddLianXiRenActivity;->phoneNumber:Ljava/lang/String;
    invoke-static {v6}, Lcom/example/m6wmr/AddLianXiRenActivity;->access$11(Lcom/example/m6wmr/AddLianXiRenActivity;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&contactname="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    # getter for: Lcom/example/m6wmr/AddLianXiRenActivity;->name:Ljava/lang/String;
    invoke-static {v6}, Lcom/example/m6wmr/AddLianXiRenActivity;->access$12(Lcom/example/m6wmr/AddLianXiRenActivity;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 415
    const-string v6, "&sex="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&bigadr="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    # getter for: Lcom/example/m6wmr/AddLianXiRenActivity;->addressStr:Ljava/lang/String;
    invoke-static {v6}, Lcom/example/m6wmr/AddLianXiRenActivity;->access$21(Lcom/example/m6wmr/AddLianXiRenActivity;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 416
    const-string v6, "&default="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&detailadr="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    # getter for: Lcom/example/m6wmr/AddLianXiRenActivity;->gatehao:Ljava/lang/String;
    invoke-static {v6}, Lcom/example/m6wmr/AddLianXiRenActivity;->access$14(Lcom/example/m6wmr/AddLianXiRenActivity;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&lat="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    # getter for: Lcom/example/m6wmr/AddLianXiRenActivity;->lat:Ljava/lang/String;
    invoke-static {v6}, Lcom/example/m6wmr/AddLianXiRenActivity;->access$22(Lcom/example/m6wmr/AddLianXiRenActivity;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&lng="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    iget-object v6, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    # getter for: Lcom/example/m6wmr/AddLianXiRenActivity;->lng:Ljava/lang/String;
    invoke-static {v6}, Lcom/example/m6wmr/AddLianXiRenActivity;->access$23(Lcom/example/m6wmr/AddLianXiRenActivity;)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string v6, "&addresid="

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    .line 413
    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    .line 418
    .local v4, "url":Ljava/lang/String;
    const-string v5, "LLLLLLLLLLLLLLLLLL"

    invoke-static {v5, v4}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 420
    iget-object v5, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    iget-object v6, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    iget-object v6, v6, Lcom/example/m6wmr/AddLianXiRenActivity;->m:Lmyapp/MyApp;

    invoke-static {v4, v6}, LPlugclass/HttpConn;->getStr(Ljava/lang/String;Lmyapp/MyApp;)Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Lcom/example/m6wmr/AddLianXiRenActivity;->access$24(Lcom/example/m6wmr/AddLianXiRenActivity;Ljava/lang/String;)V

    .line 421
    const-string v5, "xxxxxxxxxxxxxxxxxxx"

    iget-object v6, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    # getter for: Lcom/example/m6wmr/AddLianXiRenActivity;->gethttpsString:Ljava/lang/String;
    invoke-static {v6}, Lcom/example/m6wmr/AddLianXiRenActivity;->access$18(Lcom/example/m6wmr/AddLianXiRenActivity;)Ljava/lang/String;

    move-result-object v6

    invoke-static {v5, v6}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 423
    iget-object v5, p0, Lcom/example/m6wmr/AddLianXiRenActivity$7;->this$0:Lcom/example/m6wmr/AddLianXiRenActivity;

    iget-object v5, v5, Lcom/example/m6wmr/AddLianXiRenActivity;->h:Landroid/os/Handler;

    const/4 v6, 0x2

    invoke-virtual {v5, v6}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 425
    return-void
.end method
